package net.lgpage.util;

public class TimeUtil {
	/*
	 * 将播放duration转换成HH:mm格式
	 */
	public static String durationtoMMss(int temp){
		 //显示时间
		temp = temp/1000;
        String time;
        if((temp/60)<10){
        	time = "0"+temp/60;
        }else{
        	time = temp/60+"";
        }
        if((temp%60)<10){
        	time+=":0"+temp%60;
        }else{
        	time+=":"+temp%60;
        }
        return time;
	}
}
